import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import reportWebVitals from './reportWebVitals';
//配置全局的主题色
import { ConfigProvider } from 'antd';
//导入antd中的全局样式文件
import 'antd/dist/reset.css'
const root = ReactDOM.createRoot(document.getElementById('app') as HTMLElement);
root.render(
  <ConfigProvider
    theme={{
      token: {
        colorPrimary: '#00b96b',
      },
    }}
  >
    <App />
  </ConfigProvider>
);
reportWebVitals();
